package com.ruoyi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 活动表
 * @TableName t_activities
 */
@TableName(value ="t_activities")
@Data
public class Activities implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 活动名称
     */
    private String activityName;

    /**
     * 宣传图片
     */
    private String pubilcityPicture;

    /**
     * 开始时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private Date endTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
